﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage.Master" AutoEventWireup="true" CodeBehind="Add.aspx.cs" Inherits="Token.Piker.Web.Admin.Slide.Add" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>添加首页大图</title>
    <style type = "text/css">
        #rightbar p
        {
            height:50px;
            line-height:50px;
        }
        #rightbar p label
        {
            height:25px;
            display:inline-block;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <p><label>请选择首页图：</label>
        <asp:FileUpload ID="uploadSlide" runat="server" Height = "25" />
    </p>
    <p><label>请输入首页图要链接到的网址：</label>
        <span>
        <asp:TextBox ID = "txtURL" runat = "server" Text = "" Width = "200" Height = "25"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*请输入网址" ControlToValidate = "txtURL"></asp:RequiredFieldValidator>
        </span>
    </p>
    <p><asp:Button ID = "btnAdd" runat = "server" Text = "添加" onclick="btnAdd_Click" Width = "100" Height = "25" />&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID = "btnCancel" runat = "server" Text = "取消"  Width = "100" Height = "25" CausesValidation = "false"
            onclick="btnCancel_Click" />
    </p>
</asp:Content>
